package cn.bluemobi.app.controller.helpCenter;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.bluemobi.app.core.controller.AppBaseController;
import cn.bluemobi.app.entity.output.HelpCenter;
import cn.bluemobi.app.service.HelpCenterService;
import cn.bluemobi.common.core.dto.ListDto;

import com.wordnik.swagger.annotations.Api;
import com.wordnik.swagger.annotations.ApiOperation;

/**
 * 
 * @author lvxh
 * 
 */
@Controller
@RequestMapping("/helpCenter")
@Api(description = "帮助中心", value = "helpCenter")
public class HelpCenterController extends AppBaseController {

	@Autowired
	private HelpCenterService helpCenterService;

	@ApiOperation(value = "查询帮助中心列表", httpMethod = "POST")
	@RequestMapping("/findHelpCenterList")
	@ResponseBody
	public ListDto<HelpCenter> findHelpCenterList() {
		return helpCenterService.findHelpCenterList();
	}
}
